package controller;

import model.GameModelInterface;
import view.GameView;

public class GameController implements GameControllerInterface {
	GameModelInterface _gameModel;

	GameView _gameView;

	public GameController(GameModelInterface gameModel) {
		this._gameModel = gameModel;
		this._gameView = new GameView(this._gameModel, this);
	}

	public GameView getView() {
		return this._gameView;
	}

	public void start() {
		this._gameModel.start();

	}

	public void pause() {
		this._gameModel.pause();

	}

	public void touch(int position) {
		this._gameModel.touch(position);
	}

}
